package com.src.myapplication;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.src.myapplication.base.BaseActivity;
import com.src.myapplication.ui.view.log.LogActivity;
import com.src.myapplication.utils.UIManager;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by Administrator on 2016/10/23.
 */
public class SimPAcitvity extends BaseActivity {


    @BindView(R.id.weixin)
    ImageView weixin;
    @BindView(R.id.qq)
    ImageView qq;
    @BindView(R.id.weibo)
    ImageView weibo;
    @BindView(R.id.shouji)
    ImageView shouji;
    @BindView(R.id.text_log)
    TextView textLog;
    @BindView(R.id.text_bottom)
    TextView textBottom;

    @Override
    protected void initView() {

    }

    @Override
    public int getLayoutId() {
        return R.layout.simpacitvity;
    }


    @OnClick({R.id.weixin, R.id.qq, R.id.weibo, R.id.shouji, R.id.text_log, R.id.text_bottom})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.weixin:
                Toast.makeText(this,"这个要钱换个其他的试试",Toast.LENGTH_LONG).show();
                break;
            case R.id.qq:

                break;
            case R.id.weibo:

                break;
            case R.id.shouji:

                break;
            case R.id.text_log:
                UIManager.startActivity(this, LogActivity.class);
                break;
            case R.id.text_bottom:
                Toast.makeText(SimPAcitvity.this, "不给看", Toast.LENGTH_SHORT).show();
                break;
        }
    }
}